package com.hospital.diagnosis.module.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.ai.tool.annotation.ToolParam;

import java.time.LocalDateTime;

@Data
public class AiDiagnosisRecordDto {
    /**
     * 患者ID
     */
    @ToolParam(description = "患者ID")
    private Long patientId;
    /**
     * 患者主诉
     */
    @ToolParam(description = "患者主诉,需要总结患者对自身病情的表述")
    private String chiefComplaint;
    /**
     * 症状开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ToolParam(description = "患者说明的症状开始时间,时间格式为yyyy-MM-dd HH:mm:ss")
    private LocalDateTime symptomOnsetTime;
    /**
     * 过敏史
     */
    @ToolParam(description = "患者的过敏史")
    private String allergyHistory;
    /**
     * 症状严重程度
     */
    @ToolParam(description = "根据患者的描述判断其严重程度(0轻度,1中度,2重度)")
    private Integer symptomSeverity;
    /**
     * 伴随症状
     */
    @ToolParam(description = "伴随症状")
    private String associatedSymptoms;
    /**
     * 推荐科室
     */
    @ToolParam(description = "推荐科室")
    private String recommendedDepartment;
    /**
     * 诊断建议
     */
    @ToolParam(description = "诊断建议")
    private String diagnosisAdvice;
}
